package com.nowcoder.community.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author TwfPlayer
 * @date 2023/8/19 0:30
 * @description: TODO
 */

@Configuration
@EnableScheduling //启用Spring定时任务线程池
@EnableAsync //使Async注解生效,简化Spring线程池使用
public class ThreadPoolConfig {
}
